import { createRouter, createWebHistory } from 'vue-router'
// import Index from '../views/Index.vue'
// 导入路由表
import routes  from './routes'
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes //应用路由表
})

export default router
 